Skip to content

[pull] master from php:master#929

Merged
pull[bot] merged 3 commits into
turkdevops:masterfrom
php:master
May 12, 2026
Merged

[pull] master from php:master#929
pull[bot] merged 3 commits into
turkdevops:masterfrom
php:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 12, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

arnaud-lb added 3 commits May 12, 2026 19:21
During type inference of `foreach ($array as $key => $elem)`, in the case of
loops that didn't iterate during tracing, we copy the use var info of $elem
to the def, but we forgot to do the same for $key.

Fixes GH-22004
Closes GH-22008
* PHP-8.4:
  JIT: Fix TSSA of ZEND_FE_FETCH_R with key operand
* PHP-8.5:
  JIT: Fix TSSA of ZEND_FE_FETCH_R with key operand
@pull pull Bot locked and limited conversation to collaborators May 12, 2026
@pull pull Bot added the ⤵️ pull label May 12, 2026
@pull pull Bot merged commit c0af268 into turkdevops:master May 12, 2026
1 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant